package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 乘客对象 tb_passenger
 * 
 * @author ruoyi
 * @date 2023-07-28
 */
public class TbPassenger extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 乘客码 */
    @Excel(name = "乘客码")
    private String passengerCode;

    /** 姓名 */
    @Excel(name = "姓名")
    private String passengerName;

    /** 乘客手机号 */
    @Excel(name = "乘客手机号")
    private String passengerPhone;

    /** 性别(0.男1.女) */
    @Excel(name = "性别(0.男1.女)")
    private Long passengerSex;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String passengerId;

    /** 紧急联系人 */
    @Excel(name = "紧急联系人")
    private String exigencyName;

    /** 紧急联系人手机号 */
    @Excel(name = "紧急联系人手机号")
    private String exigencyPhone;

    /** 逻辑删除(0.正常1.删除) */
    @Excel(name = "逻辑删除(0.正常1.删除)")
    private Long idDeleted;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPassengerCode(String passengerCode) 
    {
        this.passengerCode = passengerCode;
    }

    public String getPassengerCode() 
    {
        return passengerCode;
    }
    public void setPassengerName(String passengerName) 
    {
        this.passengerName = passengerName;
    }

    public String getPassengerName() 
    {
        return passengerName;
    }
    public void setPassengerPhone(String passengerPhone) 
    {
        this.passengerPhone = passengerPhone;
    }

    public String getPassengerPhone() 
    {
        return passengerPhone;
    }
    public void setPassengerSex(Long passengerSex) 
    {
        this.passengerSex = passengerSex;
    }

    public Long getPassengerSex() 
    {
        return passengerSex;
    }
    public void setPassengerId(String passengerId) 
    {
        this.passengerId = passengerId;
    }

    public String getPassengerId() 
    {
        return passengerId;
    }
    public void setExigencyName(String exigencyName) 
    {
        this.exigencyName = exigencyName;
    }

    public String getExigencyName() 
    {
        return exigencyName;
    }
    public void setExigencyPhone(String exigencyPhone) 
    {
        this.exigencyPhone = exigencyPhone;
    }

    public String getExigencyPhone() 
    {
        return exigencyPhone;
    }
    public void setIdDeleted(Long idDeleted) 
    {
        this.idDeleted = idDeleted;
    }

    public Long getIdDeleted() 
    {
        return idDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("passengerCode", getPassengerCode())
            .append("passengerName", getPassengerName())
            .append("passengerPhone", getPassengerPhone())
            .append("passengerSex", getPassengerSex())
            .append("passengerId", getPassengerId())
            .append("exigencyName", getExigencyName())
            .append("exigencyPhone", getExigencyPhone())
            .append("createTime", getCreateTime())
            .append("idDeleted", getIdDeleted())
            .toString();
    }
}
